package com.ruoyi.worker.mapper;

import com.ruoyi.worker.domain.ProfessionRank;
import com.ruoyi.worker.domain.SeniorityAwardSetting;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProfessionRankMapper {

    List<ProfessionRank> getProfessionRankListInfo(ProfessionRank professionRank);

    int add(ProfessionRank professionRank);

    int edit(ProfessionRank professionRank);

    int remove(Long[] ids);

    SeniorityAwardSetting getSeniorityAwardSettingListInfo(SeniorityAwardSetting seniorityAwardSetting);

    SeniorityAwardSetting getSeniorityAwardSettingById(Long id);

    int insertSeniorityAwardSetting(SeniorityAwardSetting seniorityAwardSetting);

    int deleteAll();
}
